import Vue from 'vue'
import Router from 'vue-router'
import gerenOne from '@/components/gerenOne' //首页
import head1 from '@/components/home-logo/headOne' //头部1
import head2 from '@/components/home-logo/headTwo' //头部2
import FooterCon from '@/components/home-logo/FooterCon' //底部
import NavCon from '@/components/home-logo/NavCon' //导航头部3
import map from '@/components/map' //百度地图
import denglu from '@/components/home-logo/denglu' //登录注册
import yanzhengma from '@/components/home-logo/yanzhengma' //验证码
import gerennav from '@/components/gerenzhongxin/gerenNav' //个人中心左侧导航
import zhanghu01 from '@/components/gerenzhongxin/zhanghu01' //个人中心账户01
import zhanghu02 from '@/components/gerenzhongxin/zhanghu02' //个人中心账户02
import zhanghu03 from '@/components/gerenzhongxin/zhanghu03' //个人中心账户03
import zhanghu04 from '@/components/gerenzhongxin/zhanghu04' //个人中心账户04
import zhanghu05 from '@/components/gerenzhongxin/zhanghu05' //个人中心账户05
import dingdan01 from '@/components/gerenzhongxin/dingdan01' //个人中心订单1
import dingdan02 from '@/components/gerenzhongxin/dingdan02' //个人中心订单2
import dingdan03 from '@/components/gerenzhongxin/dingdan03' //个人中心订单3
import jifen01 from '@/components/gerenzhongxin/jifen01' //个人中心积分1
import jifen02 from '@/components/gerenzhongxin/jifen02' //个人中心积分02
import order01 from '@/components/gerenzhongxin/order01' //个人中心积分订单
import ziliao01 from '@/components/gerenzhongxin/ziliao01' //个人中心手机绑定01
import ziliao02 from '@/components/gerenzhongxin/ziliao02' //个人中心手机绑定02
import ziliao03 from '@/components/gerenzhongxin/ziliao03' //个人中心手机绑定03
import address01 from '@/components/gerenzhongxin/address01' //个人中心地址管理01
import address02 from '@/components/gerenzhongxin/address02' //个人中心地址管理02
import address03 from '@/components/gerenzhongxin/address03' //个人中心地址管理03
import shoucang01 from '@/components/gerenzhongxin/shoucang01' //个人中心收藏
import mima from '@/components/gerenzhongxin/mima' //个人中心修改密码
import liulan from '@/components/gerenzhongxin/liulan' //个人中心最近浏览
import myxiaoxi from '@/components/gerenzhongxin/myxiaoxi' //个人中心我的消息
import yijian from '@/components/gerenzhongxin/yijian' //个人中心意见反馈
import yzm from '@/components/gerenzhongxin/yzm' //验证
import riqi from '@/components/gerenzhongxin/riqi' //日期三级联动


Vue.use(Router)

export default new Router({
	routes: [{
		path: '/',
		redirect: '/zhanghu01', //默认路由设置
		component: gerenOne,
		children: [{
				path: '/zhanghu01',
				component: zhanghu01//我的账户1
			},
			{
				path: '/zhanghu02',
				component: zhanghu02//我的账户2
			}, {
				path: '/zhanghu03',
				component: zhanghu03//我的账户3
			}, {
				path: '/zhanghu04',
				component: zhanghu04//我的账户4
			}, {
				path: '/zhanghu05',
				component: zhanghu05//我的账户5
			}, {
				path: '/dingdan01',
				component: dingdan01//我的订单
			}, {
				path: '/dingdan02',
				component: dingdan02
			}, {
				path: '/dingdan03',
				component: dingdan03
			}, {
				path: '/jifen01',
				component: jifen01//我的积分
			}, {
				path: '/jifen02',
				component: jifen02
			}, {
				path: '/order01',
				component: order01//我的订单
			}, {
				path: '/ziliao01',
				component: ziliao01//个人资料
			}, {
				path: '/ziliao02',
				component: ziliao02
			}, {
				path: '/ziliao03',
				component: ziliao03
			}, {
				path: '/address01',
				component: address01//地址管理
			}, {
				path: '/address02',
				component: address02
			}, {
				path: '/address03',
				component: address03
			}, {
				path: '/shoucang01',
				component: shoucang01//我的收藏
			}, {
				path: '/liulan',
				component: liulan//最近浏览
			}, {
				path: '/mima',
				component: mima//修改密码
			}, {
				path: '/myxiaoxi',
				component: myxiaoxi//我的消息
			}, {
				path: '/yijian',//意见反馈
				component: yijian
			}
		]

	}]
})